package main

import (
	"fmt"
	//	"strings"
)

var str = "全局变量"

func main() {
	var str string = "main中的str变量"
	test()
	fmt.Print(str + "\n")
}

func test() {
	fmt.Print(str + "\n")
}
